package planets.tests;

import javax.swing.JFrame;
import planets.DrawPanel;
import sativa.game.Engine;
import sativa.game.SativaEngine;

/**
 * // ------------------------------------------------------------------------- /** Test our planet game. I'm not quite sure how exactly to work this :/
 * 
 * @author carlos
 * @version May 10, 2011
 */
public class PlanetsGameTest extends GameTest
{
	private SativaEngine testGame;
	private JFrame frame;
	private DrawPanel drawPanel;

	@Override
	public void setUp()
	{
		frame = new JFrame();
		drawPanel = new DrawPanel();
		frame.add(drawPanel);
		frame.setVisible(true);
		testGame = new SativaEngine(640, 480, drawPanel);
		super.setUp();
	}

	@Override
	protected Engine getConcrete()
	{
		return testGame;
	}
}